package app.Cliente;

import java.net.InetAddress;

/**
 *
 * @author Pedro Santod
 */
public class Configurações {

    private InetAddress clienteIp;
    private int clientePort;//Porta que manda.
    private int clienteServerPort;// Porta que recebe.
    private InetAddress serverIp;
    private int serverPort;//Porta do servidor que recebe.

    public Configurações(InetAddress clienteIp, int clientePort, int clienteServerPort, InetAddress serverIp, int serverPort) {
        this.clienteIp = clienteIp;
        this.clientePort = clientePort;
        this.clienteServerPort = clienteServerPort;
        this.serverIp = serverIp;
        this.serverPort = serverPort;
    }

    public InetAddress getClienteIp() {
        return clienteIp;
    }

    public void setClienteIp(InetAddress clienteIp) {
        this.clienteIp = clienteIp;
    }

    public int getClientePort() {
        return clientePort;
    }

    public void setClientePort(int clientePort) {
        this.clientePort = clientePort;
    }

    public int getClienteServerPort() {
        return clienteServerPort;
    }

    public void setClienteServerPort(int clienteServerPort) {
        this.clienteServerPort = clienteServerPort;
    }

    public InetAddress getServerIp() {
        return serverIp;
    }

    public void setServerIp(InetAddress serverIp) {
        this.serverIp = serverIp;
    }

    public int getServerPort() {
        return serverPort;
    }

    public void setServerPort(int serverPort) {
        this.serverPort = serverPort;
    }
}
